- Posts: 46
COMMUNITY FORUM
{Solved} Overide
- Charles
-
Topic Author
- Offline
- Senior Member
Less
More
9 years 1 month ago - 9 years 4 weeks ago #153235
by Charles
{Solved} Overide was created by Charles
Hello,
I have different users using K2 . I would like to make disappear some elements when a creation of an article.
For example, for some users I want to disappear "special element" .
But I can not with CSS . I try with a substitution but it does not work .
What is the processus?
Thank you in advance for your help.
I have different users using K2 . I would like to make disappear some elements when a creation of an article.
For example, for some users I want to disappear "special element" .
But I can not with CSS . I try with a substitution but it does not work .
What is the processus?
Thank you in advance for your help.
Last edit: 9 years 4 weeks ago by Charles.
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Elite Member
Less
More
- Posts: 169
9 years 1 month ago #153237
by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Overide
Hello Durand,
There is no standard process to do that. You can of course override a view in the administrator as you would do in the frontend inside the html folder of the template. To hide fields depending on the user is another thing, as it requires to use php alongside with the Joomla framework in order not only to hide the html field(s) according to the user's group but to ensure that the user cannot pass unauthorized data.
There is no standard process to do that. You can of course override a view in the administrator as you would do in the frontend inside the html folder of the template. To hide fields depending on the user is another thing, as it requires to use php alongside with the Joomla framework in order not only to hide the html field(s) according to the user's group but to ensure that the user cannot pass unauthorized data.
Please Log in or Create an account to join the conversation.
- Charles
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 46
9 years 4 weeks ago #153254
by Charles
Replied by Charles on topic Overide
Okay thank you for your answer . If I put the desired parts from comments in the php code as possible ?
I'll try your solution.
I'll try your solution.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 weeks ago #153265
by Krikor Boghossian
Replied by Krikor Boghossian on topic Overide
You can override the administrator template so you can add custom classes in order to hide certain elements.
Also I do not really understand what a "special element" is.
Also I do not really understand what a "special element" is.
Please Log in or Create an account to join the conversation.
- Charles
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 46
9 years 4 weeks ago #153320
by Charles
Replied by Charles on topic Overide
Thank's for the answer Krikor.
The "special element" is "Featured" in item edition.
It's solved, i used the answer of Krikor.
Regards,
Charly
The "special element" is "Featured" in item edition.
It's solved, i used the answer of Krikor.
Regards,
Charly
Please Log in or Create an account to join the conversation.